//
//  TestViewController.m
//  WKWebviewDemo
//
//  Created by 许金金 on 17/3/2.
//  Copyright © 2017年 许金金. All rights reserved.
//

#import "TestViewController.h"
#import "ViewController.h"
#import "OtherViewController.h"

@interface TestViewController ()

@end

@implementation TestViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}
- (IBAction)test:(id)sender {
    
    OtherViewController *other=[[OtherViewController alloc] init];
    [self.navigationController pushViewController:other animated:YES];
    
    
//    ViewController* view=[[ViewController alloc] init];
//    [self.navigationController pushViewController:view animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
